package com.yantong.mapper;

import com.yantong.pojo.ProductAuthority;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface ProductAuthorityMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductAuthority record);

    int insertSelective(ProductAuthority record);

    ProductAuthority selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductAuthority record);

    int updateByPrimaryKey(ProductAuthority record);

    List<ProductAuthority> selectByAll(ProductAuthority productAuthority, RowBounds rowBounds);

    Integer countByAll(ProductAuthority productAuthority);

    List<ProductAuthority> listByAll();




}